/*
	Copyright 2012 J. Gohlke
	Licensed under the Apache License, Version 2.0 (the
	"License"); you may not use this file except in
	compliance with the License. You may obtain a copy
	of the License at

	http://www.apache.org/licenses/LICENSE-2.0

	Unless required by applicable law or agreed to in
	writing, software distributed under the License is
	distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
	OR CONDITIONS OF ANY KIND, either express or
	implied. See the License for the specific language
	governing permissions and limitations under the
	License
 */
package com.gohlke.lwo;

import java.util.ArrayList;

/**
 *
 * @author David Wise
 * 
 * VMAP { type[ID4], dimension[U2], name[S0], ( vert[VX], value[F4] # dimension )* }
 * 
 * Associates a set of floating-point vectors with a set of points.
 * VMAPs begin with a type, a dimension (vector length) and a name.
 * These are followed by a list of vertex/vector pairs. 
 * The vertex is given as an index into the most recent PNTS chunk, in VX format.
 * The vector contains dimension floating-point values. 
 * There can be any number of these chunks, but they should all have different types or names.
 * 
 */
public class LightwaveObjectVertexMapping {
    public String type;
    public int dimension;
    public String name;
    
    public ArrayList<LightwaveObjectVertexMapData> data = new ArrayList<LightwaveObjectVertexMapData>();
    
    @Override
    public String toString(){
        return name;
    }
            
}
